package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.common.DeleteRequest;
import com.yupi.springbootinit.model.dto.qa.QaInspectionReportDimAddRequest;
import com.yupi.springbootinit.model.dto.qa.QaInspectionReportDimQueryRequest;
import com.yupi.springbootinit.model.dto.qa.QaInspectionReportDimUpdateRequest;
import com.yupi.springbootinit.model.entity.QaInspectionReportDim;

import java.util.List;

/**
* @author zlc
* @description 针对表【qa_inspection_report_dim(主尺寸检验条目)】的数据库操作Service
* @createDate 2024-07-23 16:17:31
*/
public interface QaInspectionReportDimService extends IService<QaInspectionReportDim> {

    long addQaInspectionReportDim(QaInspectionReportDimAddRequest qaInspectionReportDimAddRequest);

    boolean deleteQaInspectionReportDim(DeleteRequest deleteRequest);

    boolean updateQaInspectionReportDim(QaInspectionReportDimUpdateRequest qaInspectionReportDimUpdateRequest);

    QaInspectionReportDim getQaInspectionReportDimById(long id);

    List<QaInspectionReportDim> listQaInspectionReportDim(QaInspectionReportDimQueryRequest qaInspectionReportDimQueryRequest);

    Page<QaInspectionReportDim> listQaInspectionReportDimByPage(QaInspectionReportDimQueryRequest qaInspectionReportDimQueryRequest);
}